<template>
	<view>
		<!-- 代拍发票管理 -->
		<view class="bg-white p-4" style="width: 2000rpx;">
			<view class="flex">
				<view class="flex align-center mr-2">
					<text>发票单号:</text>
					<view class="ml-2" style="width: 300rpx;">
						<uni-data-select placeholder="请选择发票" v-model="Selectvalue" :localdata="range"
							@change="change"></uni-data-select>
					</view>
				</view>
				<view class="flex align-center mr-2">
					<text>单据状态:</text>
					<view class="ml-2" style="width: 300rpx;">
						<uni-data-select placeholder="请选择状态" v-model="Selectvalue" :localdata="range"
							@change="change"></uni-data-select>
					</view>
				</view>
				<view class="flex align-center">
					<view class="flex align-center px-2" style="border: 6rpx solid #eee;">
						<input style="width: 500rpx;height: 60rpx;" type="text" placeholder="请输入合同号/客户名称 进行搜索">
					</view>
					<view class="ml-2">
						<view class="bg-orange text-center text-white px-4 py-1">
							<text>搜索</text>
						</view>
					</view>
				</view>
			</view>
		    <!-- 表格 -->
			<view class="mt-2 flex flex-column">
				<view class="w-100 flex font-sm font-weight-bold"
					style="background-color: rgb(245,245,245);height: 80rpx;">
					<view class="text-center" style="width: 14%;line-height: 80rpx;">
						<text>合同号</text>
					</view>
					<view class=" text-center" style="width: 18%;line-height: 80rpx;">
						<text>发票单号</text>
					</view>
					<view class=" text-center" style="width: 12%;line-height: 80rpx;">
						<text>发票类型</text>
					</view>
					<view class=" text-center" style="width: 12%;line-height: 80rpx;">
						<text>数量(吨)</text>
					</view>
					<view class=" text-center" style="width: 12%;line-height: 80rpx;">
						<text>单价(元/吨)</text>
					</view>
					<view class=" text-center" style="width: 9%;line-height: 80rpx;">
						<text>开票金额</text>
					</view>
					<view class=" text-center" style="width: 15%;line-height: 80rpx;">
						<text>状态</text>
					</view>
					<view class=" text-center" style="width: 8%;line-height: 80rpx;">
						<text>操作</text>
					</view>
				</view>
				<view v-if="false" style="height: 200rpx;" class="w-100 flex justify-center align-center">
					暂无数据
				</view>
				<view v-else class="flex font-sm" style="height: 150rpx;border-bottom:2rpx solid rgb(221,221,211);"
					v-for="(item,index) in 4" :key="index">
					<view class=" flex justify-center align-center" style="border-left:2rpx solid rgb(221,221,211);width: 14%;line-height: 70rpx;">
						<text>3151514651</text>
					</view>
					<view class="flex align-center justify-center" style="width: 18%;line-height: 70rpx;">
						<view class="flex justify-center">
							<text>李四</text>
						</view>
					</view>
					<view class="flex align-center justify-center " style="width: 12%;line-height: 70rpx;">
						<view class="flex justify-center w-100">
							<text class="text-ellipsis">45641654165</text>
						</view>
					</view>
					<view class="flex align-center justify-center" style="width: 12%;line-height: 70rpx;">
						<view class="flex justify-center">
							<text>100斤</text>
						</view>
					</view>
					<view class="flex align-center justify-center" style="width: 12%;line-height: 70rpx;">
						<view class="flex justify-center">
							<text>￥50/斤</text>
						</view>
					</view>
					<view class="flex align-center justify-center" style="width: 9%;line-height: 70rpx;">
						<view class="flex justify-center">
							<text>￥5000</text>
						</view>
					</view>
					<view class="flex align-center justify-center" style="width: 15%;line-height: 70rpx;">
						<text class="text-ellipsis" title="250kg无敌大豆油啦啦啦啦啦啦阿联">250kg无敌大豆油啦啦啦啦啦啦啦啦阿联</text>
					</view>
					<view class="flex align-center justify-center text-danger" style="border-right:2rpx solid rgb(221,221,211);width: 8%;line-height: 70rpx;">
						已作废
					</view>
				</view>
				<view class="flex" style="height: 150rpx;border-bottom:2rpx solid rgb(221,221,211);">
					<view class="flex align-center justify-center " style="border-right:2rpx solid rgb(221,221,211);border-left:2rpx solid rgb(221,221,211); width: 33%;line-height: 70rpx;">
						<view class="flex justify-center w-100">
							<text class="text-ellipsis font-weight-bold">汇总</text>
						</view>
					</view>
					<view class="flex align-center justify-center" style="border-right:2rpx solid rgb(221,221,211);width: 33%;line-height: 70rpx;">
						<view class="flex justify-center">
							<text>数量:400斤</text>
						</view>
					</view>
					<view class="flex align-center justify-center" style="width: 34%;border-right:2rpx solid rgb(221,221,211);line-height: 70rpx;">
						<view class="flex justify-center">
							<text>开票金额:￥20000元</text>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"AuctionInvoiceManagement",
		data() {
			return {
				range:[],
				Selectvalue:'',
			};
		}
	}
</script>

<style lang="scss">

</style>